/* NOTE: This file was generated as an optimized version of "library.source.less" for the Theme Designer. */

/*!
 * OpenUI5
 * (c) Copyright 2009-2019 SAP SE or an SAP affiliate company.
 * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
 */

@import "../sap_belize/library.less";
@import "../../../../../Base/baseLib/sap_belize_plus/base.less"; /* ORIGINAL IMPORT PATH: "../../../../sap/ui/core/themes/sap_belize_plus/base.less" */

@import "../../../../sap/ui/core/themes/sap_belize_plus/global.less";

/* START "AnchorBar.less" */
/* =================================== */
/* CSS for control sap.uxap/AnchorBar  */
/* Belize Plus theme                   */
/* =================================== */

.sapUshellShell {
	.sapUxAPAnchorBar.sapMTB {
		background: fade(@sapUiObjectHeaderBackground, 60%);
	}

	.sapUxAPAnchorBar.sapUxAPAnchorBarScrollLeft .anchorBarArrowLeft,
	html[dir=rtl] .sapUxAPAnchorBar.sapUxAPAnchorBarScrollRight .anchorBarArrowRight,
	.sapUxAPAnchorBar.sapUxAPAnchorBarScrollRight .anchorBarArrowRight,
	html[dir=rtl] .sapUxAPAnchorBar.sapUxAPAnchorBarScrollLeft .anchorBarArrowLeft {
		background: none;
	}
}

.sapUxAPAnchorBar.sapMTB.sapUxAPAnchorBarTranslucent {
	background: fade(@sapUiObjectHeaderBackground, 60);
}

.sapContrastPlus {
	.sapUxAPAnchorBar .sapUxAPAnchorBarButton.sapUxAPAnchorBarButtonSelected .sapMBtnContent,
	.sapUxAPAnchorBar .sapUxAPAnchorBarButton.sapUxAPAnchorBarButtonSelected .sapMBtnIcon,
	.sapUxAPAnchorBar .sapUxAPAnchorBarButton .sapMBtnInner.sapMBtnTransparent.sapMBtnHoverable:hover .sapMBtnContent,
	.sapUxAPAnchorBar .sapUxAPAnchorBarButton.sapMBtn:hover > .sapMBtnHoverable .sapMBtnContent,
	.sapUxAPAnchorBar .sapUxAPAnchorBarButton.sapMBtn:hover > .sapMBtnHoverable .sapMBtnIcon {
		color: lighten(@sapUiGroupTitleTextColor, 20);
	}
}
/* END "AnchorBar.less" */

/* START "ObjectPageHeader.less" */
/* ========================================== */
/* CSS for control sap.uxap/ObjectPageHeader  */
/* Belize Plus theme                          */
/* ========================================== */

.sapUshellShell {
	.sapUxAPObjectPageHeaderIdentifier {
		background: fade(@sapUiObjectHeaderBackground, 60%);
	}
}

.sapContrastPlus.sapUxAPObjectPageHeaderObjectImageContainer .sapUiIcon,
.sapContrastPlus .sapUxAPObjectPageHeaderObjectImageContainer .sapUiIcon {
	color: @sapUiBaseText;
}
/* END "ObjectPageHeader.less" */

/* START "ObjectPageHeaderContent.less" */
/* ================================================= */
/* CSS for control sap.uxap/ObjectPageHeaderContent  */
/* Belize Plus theme                                 */
/* ================================================= */

.sapUshellShell {
	.sapUxAPObjectPageHeaderContentDesign-Light,
	.sapUxAPObjectPageHeaderContentDesign-Dark {
		background: fade(@sapUiObjectHeaderBackground, 60%);
	}
}

.sapContrastPlus.sapUxAPObjectPageHeaderContent .sapUxAPObjectPageHeaderPlaceholder > .sapUiIcon,
.sapContrastPlus .sapUxAPObjectPageHeaderContent .sapUxAPObjectPageHeaderPlaceholder > .sapUiIcon {
	color: @sapUiBaseText;
}
/* END "ObjectPageHeaderContent.less" */

/* START "ObjectPageLayout.less" */
/* ========================================== */
/* CSS for control sap.uxap/ObjectPageLayout  */
/* Belize Plus theme                          */
/* ========================================== */


/* ======================================== */
/* Title                                    */
/* ======================================== */
.sapUxAPObjectPageLayoutTitleClickEnabled > .sapUxAPObjectPageHeaderStickied > .sapFDynamicPageTitle {
	box-shadow: @sapUiShadowHeader;
}

.sapUxAPObjectPageLayout.sapUxAPObjectPageLayoutTitleClickEnabled {
	.sapFDynamicPageTitle:hover,
	&.sapUxAPObjectPageLayoutTitleForceHovered .sapFDynamicPageTitle {
		.title-hover(@sapUiObjectHeaderBackground);
	}

	.sapFDynamicPageTitle.sapFDynamicPageTitleTranslucent:hover,
	&.sapUxAPObjectPageLayoutTitleForceHovered .sapFDynamicPageTitle.sapFDynamicPageTitleTranslucent {
		.title-hover(fade(@sapUiObjectHeaderBackground, 60%));
	}

	.sapFDynamicPageTitle.sapFDynamicPageTitleTransparent:hover,
	&.sapUxAPObjectPageLayoutTitleForceHovered .sapFDynamicPageTitle.sapFDynamicPageTitleTransparent {
		.title-hover(transparent);
	}
}

/* ======================================== */
/* Title and Toggle Header Visual Indicator */
/* ======================================== */
.sapUxAPObjectPageLayout {

	// This is needed, because we need more specific selector to override belize styles
	.sapFDynamicPageTitle.sapFDynamicPageTitle.sapFDynamicPageTitleTranslucent,
	.sapFDynamicPageHeader.sapFDynamicPageHeader.sapFDynamicPageHeaderTranslucent {
		background: fade(@sapUiObjectHeaderBackground, 60%);
	}

	.sapUxAPObjectPageNavigation {
		background: @sapUiObjectHeaderBackground;

		&.sapUxAPObjectPageNavigationTransparent {
			background:  transparent;
		}

		&.sapUxAPObjectPageNavigationTranslucent {
			background: fade(@sapUiObjectHeaderBackground, 60);

			.sapUxAPAnchorBar.sapMTB.sapUxAPAnchorBarTranslucent  {
				background: transparent;
			}
		}

		&.sapUxAPObjectPageLayoutTitleClickEnabled {
			&.sapUxAPObjectPageLayoutTitleForceHovered {
			.sapFDynamicPageToggleHeaderIndicator {
				.sapMBtnInner.sapMBtnHoverable {
					background-color: darken(@sapUiObjectHeaderBorderColor, 3);
				}
			}
		}
	}
}


  // Toggle Header Visual Indicator
  .sapFDynamicPageToggleHeaderIndicator.sapMBtn {

    // normal state
    & > .sapMBtnInner {
      border: none;
      background-color: @sapUiObjectHeaderBorderColor;
    }

    // hover state
    &:hover > .sapMBtnInner.sapMBtnHoverable {
      background-color: darken(@sapUiObjectHeaderBorderColor, 3);
    }

    // active state
    &:focus > .sapMBtnInner.sapMFocusable.sapMBtnActive {
      background: @sapUiSelected;
      color: @sapUiButtonActiveBackground;
    }
  }
}

.sapUshellShell {
  .sapUxAPObjectPageLayout {
    &.sapUxAPObjectPageLayoutTitleClickEnabled {
      .sapFDynamicPageTitle:hover,
      &.sapUxAPObjectPageLayoutTitleForceHovered .sapFDynamicPageTitle {
        background-color: fade(@sapUiObjectHeaderBackground, 75%);
      }
	}

	.sapUxAPObjectPageNavigation {
		background: fade(@sapUiObjectHeaderBackground, 60);

		.sapUxAPAnchorBar.sapMTB.sapUxAPAnchorBar  {
			background: transparent;
		}

		&.sapUxAPObjectPageNavigationTransparent {
			background:  transparent;
		}

		&.sapUxAPObjectPageNavigationSolid {
			background: @sapUiObjectHeaderBackground;
		}
	}
  }
}
/* END "ObjectPageLayout.less" */

/* START "ObjectPageSection.less" */
/* =========================================== */
/* CSS for control sap.uxap/ObjectPageSection  */
/* Belize Plus theme                           */
/* =========================================== */

@_sap_uxap_ObjectPageSection_HeaderBorderColor: darken(@sapUiListBorderColor, 5);
@_sap_uxap_ObjectPageSection_TitleBorderColor: lighten(@sapUiListBorderColor, 30);
/* END "ObjectPageSection.less" */

/* START "ObjectPageSubSection.less" */
/* ============================================== */
/* CSS for control sap.uxap/ObjectPageSubSection  */
/* Belize Plus theme                              */
/* ============================================== */

@_sap_uxap_ObjectPageSubSection_BorderColor: darken(@sapUiListBorderColor, 5);
/* END "ObjectPageSubSection.less" */
